package com.alm.token.ui.data.bean;

/**
 * Created by en on 2019/1/4.
 */

public class AddRedBagData {

    /**
     * msg : 操作成功
     * status : 0
     * data : {"id":6,"userId":30,"moneyTotal":10,"num":7,"msg":"恭喜发财","createTime":1545209848422,"updateTime":null,"status":1,"type":2,"remark":null,"money":10,"alreadyNum":0}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * id : 6
         * userId : 30
         * moneyTotal : 10
         * num : 7
         * msg : 恭喜发财
         * createTime : 1545209848422
         * updateTime : null
         * status : 1
         * type : 2
         * remark : null
         * money : 10
         * alreadyNum : 0
         */

        private int id;
        private int userId;
        private double moneyTotal;
        private int num;
        private String msg;
        private long createTime;
        private Object updateTime;
        private int status;
        private int type;
        private Object remark;
        private double money;
        private int alreadyNum;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public double getMoneyTotal() {
            return moneyTotal;
        }

        public void setMoneyTotal(double moneyTotal) {
            this.moneyTotal = moneyTotal;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public double getMoney() {
            return money;
        }

        public void setMoney(double money) {
            this.money = money;
        }

        public int getAlreadyNum() {
            return alreadyNum;
        }

        public void setAlreadyNum(int alreadyNum) {
            this.alreadyNum = alreadyNum;
        }
    }
}
